package com.fanhang.samples.spring.sql2o.dao;

import java.util.List;

import com.fanhang.samples.spring.sql2o.po.User;

public interface UserDao {

	public int save(User model) throws Exception;
	
	public int delete(User model) throws Exception;
	
	public int update(User model) throws Exception;
	
	public User get(Long id) throws Exception;
	
	public List<User> getList(User model) throws Exception;
	
}
